package com.card.manager.domain;

import java.util.Date;
import java.util.List;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.card.framework.mybatis.optimist.Identity;
import com.card.framework.mybatis.optimist.OptimisticLocking;
import com.card.framework.mybatis.optimist.Version;
import com.card.framework.util.JsonDateSerializer;
@OptimisticLocking("aaa")
public class Aaa {

	private List<Aba> aba;
	
	public List<Aba> getAba() {
		return aba;
	}

	public void setAba(List<Aba> aba) {
		this.aba = aba;
	}

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.id
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	@Identity("id")
	private Long id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.UserName
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private String username;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.version
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	@Version("version")
	private Long version;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.OwnerCardType
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private String ownercardtype;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.OwnerCard
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private String ownercard;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.Sex
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private Integer sex;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.Birthday
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private Date birthday;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.Address
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private String address;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.Email
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private String email;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.Telephone
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private String telephone;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.Phone
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private String phone;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.UseMessage
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private int usemessage;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.UseEmail
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private int useemail;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.Delflg
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private Byte delflg = 1;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.CreatDateTime
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	@JsonSerialize(using=JsonDateSerializer.class)
	private Date creatdatetime;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column aaa.CreatUserID
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	private String creatuserid;

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.id
	 * @return  the value of aaa.id
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public Long getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.id
	 * @param id  the value for aaa.id
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.UserName
	 * @return  the value of aaa.UserName
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.UserName
	 * @param username  the value for aaa.UserName
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.version
	 * @return  the value of aaa.version
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public Long getVersion() {
		return version;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.version
	 * @param version  the value for aaa.version
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setVersion(Long version) {
		this.version = version;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.OwnerCardType
	 * @return  the value of aaa.OwnerCardType
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public String getOwnercardtype() {
		return ownercardtype;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.OwnerCardType
	 * @param ownercardtype  the value for aaa.OwnerCardType
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setOwnercardtype(String ownercardtype) {
		this.ownercardtype = ownercardtype;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.OwnerCard
	 * @return  the value of aaa.OwnerCard
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public String getOwnercard() {
		return ownercard;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.OwnerCard
	 * @param ownercard  the value for aaa.OwnerCard
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setOwnercard(String ownercard) {
		this.ownercard = ownercard;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.Sex
	 * @return  the value of aaa.Sex
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public Integer getSex() {
		return sex;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.Sex
	 * @param sex  the value for aaa.Sex
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setSex(Integer sex) {
		this.sex = sex;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.Birthday
	 * @return  the value of aaa.Birthday
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public Date getBirthday() {
		return birthday;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.Birthday
	 * @param birthday  the value for aaa.Birthday
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.Address
	 * @return  the value of aaa.Address
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.Address
	 * @param address  the value for aaa.Address
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.Email
	 * @return  the value of aaa.Email
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.Email
	 * @param email  the value for aaa.Email
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.Telephone
	 * @return  the value of aaa.Telephone
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public String getTelephone() {
		return telephone;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.Telephone
	 * @param telephone  the value for aaa.Telephone
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.Phone
	 * @return  the value of aaa.Phone
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public String getPhone() {
		return phone;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.Phone
	 * @param phone  the value for aaa.Phone
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setPhone(String phone) {
		this.phone = phone;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.UseMessage
	 * @return  the value of aaa.UseMessage
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public int getUsemessage() {
		return usemessage;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.UseMessage
	 * @param usemessage  the value for aaa.UseMessage
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setUsemessage(int usemessage) {
		this.usemessage = usemessage;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.UseEmail
	 * @return  the value of aaa.UseEmail
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public int getUseemail() {
		return useemail;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.UseEmail
	 * @param useemail  the value for aaa.UseEmail
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setUseemail(int useemail) {
		this.useemail = useemail;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.Delflg
	 * @return  the value of aaa.Delflg
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public Byte getDelflg() {
		return delflg;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.Delflg
	 * @param delflg  the value for aaa.Delflg
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setDelflg(Byte delflg) {
		this.delflg = delflg;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.CreatDateTime
	 * @return  the value of aaa.CreatDateTime
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public Date getCreatdatetime() {
		return creatdatetime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.CreatDateTime
	 * @param creatdatetime  the value for aaa.CreatDateTime
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setCreatdatetime(Date creatdatetime) {
		this.creatdatetime = creatdatetime;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column aaa.CreatUserID
	 * @return  the value of aaa.CreatUserID
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public String getCreatuserid() {
		return creatuserid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column aaa.CreatUserID
	 * @param creatuserid  the value for aaa.CreatUserID
	 * @mbggenerated  Sun Sep 16 13:46:54 CST 2012
	 */
	public void setCreatuserid(String creatuserid) {
		this.creatuserid = creatuserid;
	}
}